package com.cancer.biz.common;

import java.util.HashMap;

import io.vertx.core.http.HttpClientOptions;

/**
 * Created by huaxiujun on 2015/11/18. 微信的一些配置接口
 */
public interface WeixinConfig {
	HashMap<String, String> appidAndSecret = new HashMap<String, String>() {
		{
			// APP微信登陆
			put("wx1b080763cd76a0ea", "ab933dc4a646b72b87958015baf4f304");
			// 网站登录
			put("wx97aa85009ee653b0", "ffbd813c0b0914b2d7ad5c40094af390");
			// 领金服务号
			put("wxaa08dedd6d97a5ae", "cc0025541090af9348dbdd85d66595b9");
		}
	};

	// 微信 https链接公有的设置
	HttpClientOptions options = new HttpClientOptions().setSsl(true).setTrustAll(true)
			.setDefaultHost("api.weixin.qq.com").setDefaultPort(443).setKeepAlive(false).setConnectTimeout(2000);
}
